div.burger {
    height: 30px;
    width: 40px;
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 1031;
}

div.burger.menu_open {
    transform: translateY(-2px);
}

div.x,
div.y,
div.z {
    position: absolute;
    margin: auto;
    top: 0px;
    bottom: 0px;
    background: #fff;
    border-radius: 2px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

div.x,
div.y,
div.z {
    height: 3px;
    width: 26px;
}

div.y {
    top: 18px;
}

div.z {
    top: 37px;
}

div.collapse0 {
    top: 20px;
    background: #fff;
    -webkit-transition: all 70ms ease-out;
    -moz-transition: all 70ms ease-out;
    -ms-transition: all 70ms ease-out;
    -o-transition: all 70ms ease-out;
    transition: all 70ms ease-out;
}


div.rotate30 {
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    -webkit-transition: all 50ms ease-out;
    -moz-transition: all 50ms ease-out;
    -ms-transition: all 50ms ease-out;
    -o-transition: all 50ms ease-out;
    transition: all 50ms ease-out;
}

div.rotate150 {
    -ms-transform: rotate(150deg);
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg);
    -webkit-transition: all 50ms ease-out;
    -moz-transition: all 50ms ease-out;
    -ms-transition: all 50ms ease-out;
    -o-transition: all 50ms ease-out;
    transition: all 50ms ease-out;
}

div.rotate45 {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 100ms ease-out;
    -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}

div.rotate135 {
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: all 100ms ease-out;
    -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
    -o-transition: all 100ms ease-out;
    transition: all 100ms ease-out;
}

div.circle {
    border-radius: 50%;
    width: 0px;
    height: 0px;
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,0.95);
    opacity: 1;
    -webkit-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}

div.circle.expand {
    width: 4800px;
    height: 4800px;
    top: -2400px;
    right: -2400px;
    -webkit-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);

}

div.menu {
    transform: translateX(100%);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 1031;
    margin-top: 46px;
    padding: 15px;
    background-color: rgba(255,255,255,0.96);
    overflow-y: scroll;
    overflow-x: hidden;
}

div.menu.menu_open {
    transform: translateX(0);
}


div.menu ul li {
    opacity: 0;
    width: 100%;
    text-align: center;
    font-size: 0px;
    -webkit-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 70ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

div.menu ul li a {
    display: block;
    color: var(--base_color);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 3px;
    padding: 20px;
}

div.menu ul li a:hover,div.menu ul li a.active {
    border-radius: 5px;
    color: #ffffff;
    background-color: var(--second_color);
}

div.menu li.animate {
    font-size: 16px;
    opacity: 1;
    -webkit-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -moz-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -ms-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    -o-transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
    transition: all 150ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}

div.menu li.animate:nth-of-type(1) {
    transition-delay: 0.0s;
}

div.menu li.animate:nth-of-type(2) {
    transition-delay: 0.03s;
}

div.menu li.animate:nth-of-type(3) {
    transition-delay: 0.06s;
}

div.menu li.animate:nth-of-type(4) {
    transition-delay: 0.09s;
}

div.menu li.animate:nth-of-type(5) {
    transition-delay: 0.12s;
}

div.menu li.animate:nth-of-type(6) {
    transition-delay: 0.15s;
}

@media (min-width: 321px){
    div.menu li.animate {
        font-size: 20px;
    }
}